Skip to main content

Supported Assets


Pragma supports specific pairs that are listed and traded by our data partners. We also support a broader concept of currencies (each pair is a price of the quote currency in terms of the base currency). For pairs not listed, their price can be deduced by "hoping" using pairs that are listed, e.g. we can combine ETH/USD and BTC/USD to get a ETH/BTC feed.

Asset Pairs

The following asset pairs are officially supported by Pragma. More are added every week, so just reach out on Twitter or Discord if you have a specific one you need.

The pair_id is calculated by utf-8 encoding the uppercased string (e.g. str_to_felt("BTC/USD")) and used to refer to specific feeds on-chain.

Spot

TickerPair IdDecimalsMainnet
BTC/USD186699959965663408
ETH/USD195144424015347888
WBTC/USD62876806772962967728
WBTC/BTC62876806772950518438
BTC/EUR186699959955182908
WSTETH/USD4123830361201186138570928
LORDS/USD14076682556030795989168
UNI/USD240114492541059248
STRK/USD60045146860618596528
ZEND/USD65046912915654131888

Future

TickerPair IdDecimalsMainnet
BTC/USD186699959965663408
ETH/USD195144424015347888
BTC/USDT47795189751209831246
ETH/USDT49956972547929058126

Stablecoins

TickerPair IdDecimalsMainnet
USDT/USD61483330446529216686
DAI/USD192120809988636848
USDC/USD61483329716384776366
LUSD/USD55003940722199314608

Currencies & Rebasing

If you want the price of one asset that Pragma lists in the price of another asset also listed (e.g. the price of BTC/ETH), you can simply get the result by calling the get_data_with_USD_hop endpoint. In that case, the result will have as many decimals as the base asset you are requesting, e.g. for BTC/ETH it would be 18 decimals because the base unit of ETH is wei where 10^18 wei = 1 ETH.

Abstract Currencies

Abstract currencies are not tracking a specific token but rather a broader concept or fiat currency. E.g. there is a difference between the ETH/USD price in the abstract and the ETH/USDC price that can be had in a specific AMM pool.

CurrencyCurrency IdDecimalsMainnet
USD55918768
BTC43469478
EUR45438268

Concrete Currencies

These are specific tokens that exist as on-chain representations.

CurrencyCurrency IdDecimalsStarknet address MainnetEthereum address MainnetStarknet address Testnet
BTC434694780x03fe2b97c1fd336e750087d68b9b867997fd64a2661ff3ca5a7c771641e8e7ac0x2260fac5e5542a773aa44fbcfedf7c193bc2c5990x12d537dc323c439dc65c976fad242d5610d27cfb5f31689a0a319b8be7f3d56
ETH4543560180x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc70x00000000000000000000000000000000000000000x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7
USDC143152032360x053c91253bc9682c04929ca02ed00b3e423f6710d2ee7e0d5ebb06f3ecf368a80xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb480x001d5b64feabc8ac7c839753994f469704c6fabdd45c8fe6d26ed57b5eb79057
USDT143152034060x068f5c6a61780768455de69077e07e89787839bf8166decfbf92b645209c0fb80xdac17f958d2ee523a2206206994597c13d831ec70x386e8d061177f19b3b485c20e31137e6f6bc497cc635ccdfcab96fadf5add6a
DAI4473161180x001108cdbe5d82737b9057590adaf97d34e74b5452f0628161d237746b6fe69e0x6B175474E89094C44Da98b954EedeAC495271d0F0x0278f24c3e74cbf7a375ec099df306289beb0605a346277d200b791a7f811a19
SOL54597889N/A0xd31a59c85ae9d8edefec411d448f90841571b89cN/A
SHIB139724627418N/A0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cEN/A
BNB434541018N/A0xB8c77482e45F1F44dE1745F52C74426C631bDD52N/A
MATIC33180852461118N/A0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0N/A
TUSD141487802018N/A0x0000000000085d4780B73119b644AE5ecd22b376N/A
AVAX10961718649N/AN/AN/A
DOGE11460462778N/AN/AN/A
ADA42773136N/AN/AN/A
XRP57882406N/AN/AN/A
BUSD111288813218N/AN/AN/A